package rpc

import (
	"round_game/common"
	"round_game/common/proto/account"
)

func (r *RPC) GamePlayerReport(
	args *account.GamePlayerReport) (resp *account.GamePlayerReportResp, err error) {
	resp = &account.GamePlayerReportResp{}
	err = r.Call(common.Account, "GamePlayerReport", args, resp)
	return
}

func (r *RPC) CheckPlayerIsValid(
	args *account.CheckPlayerIsValidRequest) (resp *account.CheckPlayerIsValidResponse, err error) {
	resp = &account.CheckPlayerIsValidResponse{}
	err = r.Call(common.Account, "CheckPlayerIsValid", args, resp)
	return
}
